#include<stdio.h>
#include<math.h>
int main()
{
    int a;
    scanf("%d", &a);
    int day = 1;
    while(a > 1)
    {
        day ++;
        a /= 2;
    }
    printf("%d\n", day);
    return 0;
}